<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title></title>
    <link th:href="@{/assets/css/upload.css}" rel="stylesheet" type="text/css"/>
</head>
<body>

<form method="POST" enctype="multipart/form-data" action="/test/uploadfile">
    <p>
        文件：<input type="file" name="file" />
    </p>
    <p>
        <input type="submit" value="上传" />
    </p>
</form>

</body>
</html>
